home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Telnet / NCSA / tn3270 2.3d26 source / tn3270 / kbtab.c < prev    next >
Text File  |  1991-01-21  |  6KB  |  144 lines

  1. /*
  2.  *  tn3270 for the Macintosh Source Code
  3.  *  Brown University Computing and Information Services
  4.  *  Version 2.3d21, January 17, 1991
  5.  *  Copyright (c) 1988, 1989, 1990, 1991 by Brown University and by
  6.  *  Peter John DiCamillo.
  7.  *
  8.  *  Permission is granted to any individual or institution to use, copy,
  9.  *  or redistribute the binary version of this software and its
  10.  *  documentation provided this notice and the copyright notices are
  11.  *  retained.  Permission is granted to any individual or non-profit
  12.  *  institution to use, copy, modify, or redistribute the source files
  13.  *  of this software provided this notice and the copyright notices are
  14.  *  retained.  This software may not be distributed for profit, either
  15.  *  in original form or in derivative works, nor can the source be
  16.  *  distributed to other than an individual or a non-profit institution.
  17.  *  Any  individual or group interested in seeing and/or using these
  18.  *  source files but who are prevented from doing so by the above
  19.  *  constraints should contact Don Wolfe, Assistant Vice-President for
  20.  *  Computer Systems at Brown University, (401) 863-7250, for possible
  21.  *  software licensing of the source developed at Brown.
  22.  *
  23.  *  Brown University and Peter John DiCamillo make no representations
  24.  *  about the suitability of this software for any purpose.
  25.  *
  26.  *  BROWN UNIVERSITY AND PETER JOHN DICAMILLO GIVE NO WARRANTY, EITHER
  27.  *  EXPRESS OR IMPLIED, FOR THE PROGRAM AND/OR DOCUMENTATION PROVIDED,
  28.  *  INCLUDING, WITHOUT LIMITATION, WARRANTY OF MERCHANTABILITY AND
  29.  *  WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE.
  30.  *
  31.  */
  32.  
  33. unsigned char kbtyp[] = {
  34.     0x01,0x01,0x01,0x01,0x81,0x81,0x01,0x01,
  35.     0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,
  36.     0x01,0x01,0x01,0x01,0x01,0x81,0x01,0x01,
  37.     0x01,0x81,0x81,0x81,0x01,0x41,0x41,0x41,
  38.     0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,
  39.     0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x01,
  40.     0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,
  41.     0x81,0x81,0x01,0x81,0x81,0x81,0x81,0x81,
  42.     0x01,0x81,0x81,0x81,0x01,0x81,0x01,0x81,
  43.     0x81,0x81,0x81,0x01,0x01,0x81,0x01,0x81,
  44.     0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x01,
  45.     0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
  46.     0x01,0x81,0x81,0x81,0x81,0x81,0x81,0x81,
  47.     0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81,
  48.     0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81,
  49.     0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81,
  50.     0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81,
  51.     0x81,0x81,0x81,0x81,0x81,0x81,0x02,0x02,
  52.     0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
  53.     0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
  54.     0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
  55.     0x02,0x02,0x02,0x02,0x02,0x03,0x03,0x03,
  56.     0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  57.     0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  58.     0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x00,
  59.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  60.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  61.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  62.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  63.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  64.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  65.     0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00};    /* 0x01 for ALA support */
  66.     
  67. unsigned char kbstd[] = {
  68.     0x40,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,
  69.     0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,0x60,0x61,
  70.     0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x79,0x7a,
  71.     0x7b,0x7c,0x7d,0x7e,0x7f,0x81,0x82,0x83,
  72.     0x84,0x85,0x86,0x87,0x88,0x89,0x91,0x92,
  73.     0x93,0x94,0x95,0x96,0x97,0x98,0x99,0xa1,
  74.     0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,
  75.     0xad,0xbd,0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,
  76.     0xc6,0xc7,0xc8,0xc9,0xd0,0xd1,0xd2,0xd3,
  77.     0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0xe0,0xe2,
  78.     0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,0xf0,
  79.     0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,
  80.     0xf9,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  81.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  82.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  83.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  84.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  85.     0x00,0x00,0x00,0x00,0x00,0x00,0x7d,0xf1,
  86.     0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,
  87.     0x7a,0x7b,0x7c,0xc1,0xc2,0xc3,0xc4,0xc5,
  88.     0xc6,0xc7,0xc8,0xc9,0x4a,0x4b,0x4c,0x6c,
  89.     0x6e,0x6b,0x6d,0xf0,0x7e,0x01,0x02,0x03,
  90.     0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,
  91.     0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,
  92.     0x14,0x15,0x16,0x17,0xff,0x00,0x00,0x00,
  93.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  94.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  95.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  96.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  97.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  98.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  99.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
  100.     
  101. unsigned char kbapl[] = {
  102.     0x40,0x00,0x4b,0x5e,0x78,0xb8,0x00,0x6e,
  103.     0x72,0x8c,0xbe,0x71,0xad,0xae,0x4e,0x61,
  104.     0x00,0x6b,0x7e,0x60,0x7a,0xb7,0x00,0x4d,
  105.     0x4c,0xa0,0xbd,0xb6,0x5d,0xc1,0xc2,0xc3,
  106.     0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xd1,0xd2,
  107.     0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0x00,
  108.     0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,
  109.     0x9f,0x8f,0x00,0xb0,0xac,0xaa,0x8e,0xb1,
  110.     0x6d,0xba,0xbb,0xb2,0x00,0xaf,0x7d,0x90,
  111.     0xbf,0xbc,0x9d,0x5c,0x6f,0xb3,0x00,0x8d,
  112.     0x80,0x8b,0xab,0xb4,0x9a,0x8a,0x9b,0xf0,
  113.     0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,
  114.     0xf9,0x41,0x42,0x43,0x44,0x45,0x46,0x47,
  115.     0x48,0x49,0x51,0x52,0x53,0x54,0x55,0x56,
  116.     0x57,0x58,0x59,0x62,0x63,0x64,0x65,0x66,
  117.     0x67,0x68,0x69,0xda,0xfb,0xdc,0xdd,0xcd,
  118.     0xcf,0xed,0xfd,0xcb,0xca,0xdb,0xee,0xde,
  119.     0xfc,0xfe,0xef,0xdf,0xeb,0xea,0x7d,0xf1,
  120.     0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,
  121.     0x7a,0x7b,0x7c,0xc1,0xc2,0xc3,0xc4,0xc5,
  122.     0xc6,0xc7,0xc8,0xc9,0x4a,0x4b,0x4c,0x6c,
  123.     0x6e,0x6b,0x6d,0xf0,0x7e,0x01,0x02,0x03,
  124.     0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,
  125.     0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,
  126.     0x14,0x15,0x16,0x17,0xff,0x00,0x00,0x00,
  127.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  128.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  129.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  130.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  131.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  132.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  133.     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
  134.  
  135. unsigned char ebc64[] = {
  136.     0x40,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,
  137.     0xc8,0xc9,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
  138.     0x50,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,
  139.     0xd8,0xd9,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
  140.     0x60,0x61,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,
  141.     0xe8,0xe9,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
  142.     0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,
  143.     0xf8,0xf9,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f};
  144.